Search-based software test data generation for string data using program-specific search operators

نویسندگان

  • Mohammad Alshraideh
  • Leonardo Bottaci
چکیده

This paper presents a novel approach to automatic software test data generation, where the test data is intended to cover program branches which depend on string predicates such as string equality, string ordering and regular expression matching. A search-based approach is assumed and some potential search operators and corresponding evaluation functions are assembled. Their performance is assessed empirically by using them to generate test data for a number of test programs. A novel approach of using search operators based on programming language string operators and parameterized by string literals from the program under test is introduced. These operators are also assessed empirically in generating test data for the test programs and are shown to provide a significant increase in performance. Copyright c © 2006 John Wiley & Sons, Ltd.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Optimizing Cost Function in Imperialist Competitive Algorithm for Path Coverage Problem in Software Testing

Search-based optimization methods have been used for software engineering activities such as software testing. In the field of software testing, search-based test data generation refers to application of meta-heuristic optimization methods to generate test data that cover the code space of a program. Automatic test data generation that can cover all the paths of software is known as a major cha...

متن کامل

The improvement of nursing students’ search skills through teaching evidence-based databases

Abstract Introduction: Nurses must possess searching skills to provide high quality patient care and perform evidence-based nursing process. Therefore, the current study focused on the effect of teaching evidence-based databases on nursing studentschr('39') search skills. Methods: This was an applied semi-experimental study in which a one group pretest–posttest design was used. In this study, p...

متن کامل

IGUANA: Input Generation Using Automated Novel Algorithms. A Plug and Play Research Tool

IGUANA is a tool for automatically generating software test data using search-based approaches. Search-based approaches explore the input domain of a program for test data and are guided by a fitness function. The fitness function evaluates input data and measures how suitable it is for a given purpose, for example the execution of a particular statement in a program, or the falsification of an...

متن کامل

Automatic generation of valid and invalid test data for string validation routines using web searches and regular expressions

Classic approaches to automatic input data generation are usually driven by the goal of obtaining program coverage and the need to solve or find solutions to path constraints to achieve this. As inputs are generated with respect to the structure of the code, they can be ineffective, difficult for humans to read, and unsuitable for testing missing implementation. Furthermore, these approaches ha...

متن کامل

Automated Software Test Data Generation for Data Flow Dependencies using Genetic Algorithm

Software testing is one of the most labor-intensive and expensive phase of the software development life cycle. Software testing includes test case generation and test suite optimization that has a strong impact on the effectiveness and efficiency of software testing. Over the past few decades, there has been active research to automate the process of test case generation but the attempts have ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Softw. Test., Verif. Reliab.

دوره 16  شماره 

صفحات  -

تاریخ انتشار 2006